buildWSNotification creates a lightweight JSON notification for WebSocket delivery.
(msg *identity.Message)
| 619 | |
| 620 | // buildWSNotification creates a lightweight JSON notification for WebSocket delivery. |
| 621 | func buildWSNotification(msg *identity.Message) []byte { |
| 622 | return ws.BuildNotification(msg) |
| 623 | } |
| 624 | |
| 625 | func splitEmail(addr string) (local, domain string) { |
| 626 | parts := strings.SplitN(addr, "@", 2) |
no test coverage detected