David Baker
18d4d3392a
Fix a bunch of linting errors
...
eslint --fix and a few manual ones
2017-01-20 14:22:27 +00:00
David Baker
5b216df28e
Not joined members any more
2016-09-21 09:57:17 +01:00
David Baker
d1a5e54a69
Check if a room looks like a DM rooms on joining
...
and mark it as one if so.
Also change the heuristic to only count rooms with 2 total members rather than 2 joined members, otherwise this is going to mark any room as a DM if someone creates a room, invites a bunch of people and you happen to be first to join.
2016-09-20 17:59:46 +01:00
Matthew Hodgson
96fd460cc8
fix import
2016-09-16 23:29:35 +01:00
Matthew Hodgson
e1bd97d509
don't try to set DM data for guests
2016-09-16 16:15:34 +01:00
David Baker
d19686b96d
Fix un-marking rooms as DM rooms
2016-09-13 11:06:07 +01:00
David Baker
96fabe09d2
Update createRoom to support creating DM rooms
...
* Make ChatInviteDialog and MemberInfo createRoom use it
* Fix bug in setDMRoom
2016-09-09 19:25:00 +01:00
David Baker
ee7c064690
I can't spell 'likely'
2016-09-08 13:56:45 +01:00
David Baker
ec4086c5fc
API for (un)marking rooms as DM rooms
2016-09-07 17:46:45 +01:00
David Baker
66b2944011
Convert Rooms.js to ES6
2016-09-07 11:45:32 +01:00
David Baker
8a4606cfbf
Remove unused import
2016-09-07 11:34:55 +01:00
David Baker
db42d629aa
Rename MatrixTools to Rooms
...
Since all the functions therein are to do with rooms, so this name is probably more helpful
2016-09-07 11:30:09 +01:00