Matthew Hodgson
3a73b54e4a
.name defaults to mxid
2016-01-20 17:22:16 +00:00
Matthew Hodgson
8b7497374f
name self-chats by displayname if possible rather than mxid, and name empty-chats as 'Empty room' rather than the fugly '?'
2016-01-20 17:19:13 +00:00
Kegan Dougal
2a88b8db4e
Improve performance of hasMembershipState to not be stupid
2016-01-20 15:09:35 +00:00
Matthew Hodgson
d6075bb5bd
add an XXX
2016-01-17 23:32:00 +00:00
Matthew Hodgson
a0df2a70cd
s/getImplicitRoomName/getDefaultRoomName/ # as kegan doesn't like the word 'implicit'
2016-01-13 14:02:26 +00:00
Matthew Hodgson
8810ff2256
merge and add null check
2016-01-13 12:58:46 +00:00
Matthew Hodgson
17efc5163f
Merge branch 'develop' into matthew/roomsettings2
2016-01-13 12:55:30 +00:00
Matthew Hodgson
71abef0117
fix merge conflict
2016-01-13 12:46:47 +00:00
Matthew Hodgson
a79270b8f8
Merge pull request #61 from matrix-org/matthew/accountdata
...
implement account data
2016-01-13 12:43:53 +00:00
Matthew Hodgson
87db054e22
fix jsdoc
2016-01-13 12:43:42 +00:00
Matthew Hodgson
88c7293838
based on PR review, rewrite account_data support to avoid tracking the section that events came from, and instead having /sync results piped into the right bit of the room directly
2016-01-11 19:25:44 +00:00
Matthew Hodgson
57072bc4f4
s/implicit/ignoreRoomNameEvent/ on calculateRoomName
2016-01-11 18:20:26 +00:00
Kegan Dougal
e8f77256de
Set the updated .sender and .target props on the event when the event itself updates these props.
2016-01-11 17:35:46 +00:00
Matthew Hodgson
678d70528e
add a Room.getImplicitRoomName so clients can know what a room would be called if it didn't have an explicit m.room.name state event
2016-01-10 20:02:35 +00:00
David Baker
02b33766ee
Document the order of the room timeline because I can never remember which way round it is.
2016-01-08 20:26:07 +00:00
Matthew Hodgson
387ad09c5f
implement account data
2016-01-08 03:22:08 +00:00
Matthew Hodgson
446faed9b5
copyrights please...
2016-01-07 04:15:38 +00:00
Kegan Dougal
f48c9175e5
Linting
2015-12-14 14:12:49 +00:00
Kegan Dougal
fcf1abb185
Use v2 transaction IDs to suppress dupes without linear scans of the timeline!
2015-12-14 11:35:50 +00:00
Kegan Dougal
b7ac6a2e33
Add config option to sort pending events to the end of the timeline
2015-12-07 15:36:32 +00:00
David Baker
4d426a3f31
The ts, not the event
2015-11-10 11:58:59 +00:00
David Baker
d7874315c3
Merge pull request #44 from matrix-org/implicit_read_receipts_2
...
Synthesize implicit read receipts in recalculateRoom
2015-11-09 15:08:04 +00:00
David Baker
c95b27683f
Add higher level keys to fake receipts
2015-11-09 15:05:46 +00:00
David Baker
ad24596d3f
Revert c13b180 as it fails lint (creating functions in a loop)
2015-11-09 13:48:05 +00:00
David Baker
c13b1800b9
forEach probably nicer here
2015-11-09 10:23:37 +00:00
Matthew Hodgson
53bbabea4f
pass event in the Room.tags event
2015-11-07 20:23:09 +00:00
Matthew Hodgson
dc7d2698b7
Merge branch 'develop' into matthew/room-tags
2015-11-07 17:25:53 +00:00
Matthew Hodgson
3d4694a92f
fix casing of tagName
2015-11-07 17:22:45 +00:00
David Baker
77266fe221
Fix lint errors and make thing that didn't need to be a member function not a member function
2015-11-06 15:26:35 +00:00
David Baker
14a48c1182
Synthesize implicit read receipts in recalculateRoom to make them correct when the room is first loaded.
2015-11-06 15:13:30 +00:00
Kegsay
455ce26741
Merge pull request #40 from matrix-org/kegan/syncing
...
Syncing bugs/fixes
2015-11-05 14:53:47 +00:00
David Baker
d34f8eda1a
Merge pull request #41 from matrix-org/implicit_read_receipts
...
Implicit read receipts
2015-11-05 14:42:48 +00:00
David Baker
483095c3da
Fix PR comments
2015-11-05 14:41:35 +00:00
David Baker
856c34016d
Fix event removal
2015-11-05 14:13:52 +00:00
David Baker
ad80d4f059
fix lint errors
2015-11-05 13:57:21 +00:00
David Baker
0da547a239
Implicit read receipts
...
* Inject implicit read receipts into the timeline
* Twiddle local echo a bit to make the implicit receipts match the various different stages of local echo.
2015-11-05 13:39:03 +00:00
David Baker
bc512a6e4c
Check m.room.name event actually has a name in the content before using it. This should fix the recent disasters with #android being shown as 'undefined' (or crashing vector).
2015-11-04 15:20:25 +00:00
David Baker
904539df58
Fix c+p fail & add unit test
2015-11-04 12:02:02 +00:00
Matthew Hodgson
149ed04a4f
fix some review feedback; add initial api for setting & deleting tags; still a WIP
2015-11-04 02:24:36 +00:00
Matthew Hodgson
5a1cc4c2e7
store the tags in the right place
2015-11-03 16:19:52 +00:00
Matthew Hodgson
70536d5676
add support for tracking room tags
2015-11-03 16:05:48 +00:00
David Baker
142ee81e66
Emit events for read receipts
2015-11-03 11:43:52 +00:00
Kegan Dougal
0fb307d09b
Use the history length specified in startClient() for room initial syncs.
2015-11-03 10:15:30 +00:00
David Baker
c6aac8cbd9
Merge pull request #35 from matrix-org/event_read_up_to
...
Add event to get last read receipt for a user.
2015-11-02 16:04:16 +00:00
David Baker
1b43bc78d0
Remove unnecessary null check & s/"/'/
2015-11-02 16:02:48 +00:00
David Baker
083dde3557
Fix doc
2015-11-02 16:00:40 +00:00
David Baker
4adc5f2c85
Also need to check if the event is null
2015-11-02 15:19:29 +00:00
Daniel Wagner-Hall
0b42d85c5b
Use double-quotes for consistency
2015-11-02 15:07:47 +00:00
David Baker
c4a35020f1
Add event to get last read receipt for a user.
2015-11-02 14:39:10 +00:00
Daniel Wagner-Hall
11f052bcc6
Simplify logic and layout
2015-10-30 14:58:59 +00:00