diff options
Diffstat (limited to 'matrix/matrix.go')
-rw-r--r-- | matrix/matrix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix/matrix.go b/matrix/matrix.go index 264cff8..c79f8fd 100644 --- a/matrix/matrix.go +++ b/matrix/matrix.go @@ -337,7 +337,7 @@ func (c *Container) HandleReadReceipt(source EventSource, evt *gomatrix.Event) { c.ui.Render() } -func (c *Container) parseDirectChatInfo(evt *gomatrix.Event) (map[*rooms.Room]bool){ +func (c *Container) parseDirectChatInfo(evt *gomatrix.Event) map[*rooms.Room]bool { directChats := make(map[*rooms.Room]bool) for _, rawRoomIDList := range evt.Content { roomIDList, ok := rawRoomIDList.([]interface{}) |