aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-roommembers.c
Commit message (Collapse)AuthorAgeFilesLines
* Hopefully fix bugs where the member list got out of syncRichard van der Hoff2015-11-031-164/+99
| | | | | | | | | | We needed better tracking of what we had told purple was each member's displayname. It was terribly confusing having matrix-roommembers try to track it implicitly, which was causing bugs where we were getting out of sync. Instead, let matrix-roommembers hold opaque data for each member, which matrix-room then uses to keep track of the purple displayname. Then move a bunch of the member-update-handling stuff back into matrix-room.
* Include invited members in room name calculationsRichard van der Hoff2015-11-031-3/+10
| | | | We want to include invited members when we are considering names for rooms.
* Implement get_cb_real_nameRichard van der Hoff2015-11-021-0/+24
| | | | | Fixing this means purple is slightly less confused about who the users in our chats are.
* Move the room member table management out to a separate fileRichard van der Hoff2015-10-291-0/+316
Trying to keep the size of matrix-room.c under control, move the membertable management bits out to a separate file. Also do away with the special handling for the first /sync of a room, and instead *always* group together member arrivals/departures until after we've finished handling the state table.