aboutsummaryrefslogtreecommitdiff
path: root/matrix
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-03-21 00:21:16 +0200
committerTulir Asokan <tulir@maunium.net>2018-03-21 00:21:24 +0200
commit7994c289aae7662fee9b86f9424d230c7b612b3d (patch)
treea9a3e1ae636c44455c08fbe6f89f00756123ef3c /matrix
parent3ad2c11865a9b4b4d5128553eb3bbcb0c1969133 (diff)
Refactor some things and format everything
Diffstat (limited to 'matrix')
-rw-r--r--matrix/room/room.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/matrix/room/room.go b/matrix/room/room.go
index a67d363..6bafbfa 100644
--- a/matrix/room/room.go
+++ b/matrix/room/room.go
@@ -27,7 +27,7 @@ type Room struct {
*gomatrix.Room
PrevBatch string
- Owner string
+ Owner string
memberCache map[string]*Member
firstMemberCache string
nameCache string
@@ -204,7 +204,7 @@ func (room *Room) GetMember(userID string) *Member {
// NewRoom creates a new Room with the given ID
func NewRoom(roomID, owner string) *Room {
return &Room{
- Room: gomatrix.NewRoom(roomID),
+ Room: gomatrix.NewRoom(roomID),
Owner: owner,
}
}