aboutsummaryrefslogtreecommitdiff
path: root/matrix/matrix.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-05-22 17:24:47 +0300
committerTulir Asokan <tulir@maunium.net>2018-05-22 17:24:47 +0300
commitcc28c7b65f9aa53a6bb1f0162f6124e1ad5edac2 (patch)
treedda36235956309fc4fb514632a3ab7cdd18b4abd /matrix/matrix.go
parentcce79ab7d8481a06054166049876c8a2cbb3418f (diff)
Gofmt
Diffstat (limited to 'matrix/matrix.go')
-rw-r--r--matrix/matrix.go2
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{})