Commit graph

461 commits

Author SHA1 Message Date
Ajay Bura
5a299b21c5
Sort direct messages by activity (#393)
* Add sort util

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Use sort util for members

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Sort dms by activity

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Sort dms activily

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Chanege roomIdByLastActive func name

Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-17 16:55:16 +05:30
Ajay Bura
12369ba2ec v1.8.2
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-17 16:44:50 +05:30
Ajay Bura
f5720bde14
Fix new message not appearing (#391)
* Fix new message no appearing

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Fix room not marking as read

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Fix room automatically gets mark as read

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Fix sending wrong read recipt

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Fix sending message not mark as read

Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-17 08:16:49 +05:30
Krishan
0d59a4de48
v1.8.1 (#390) 2022-03-15 18:15:08 +05:30
Ajay Bura
70ffd7ded8
Fix muted room show unread indicator (#386)
* Move getNotifType function

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Fix bug in getNotiType

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Add isMuted prop in room selector

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Fix muted room show unread indicator

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Fix muted room notification visible in space

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Fix space shows muted room notification on load

Signed-off-by: Ajay Bura <ajbura@gmail.com>

* Toggle room mute when changed from other client

Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-15 17:21:36 +05:30
Clament John
92a3a8d6fa
Fix view source shows original event for an edited message (#377)
Signed-off-by: Clament John <cj@hackerlab.in>

fixes #376

When we click view source for an edited message we were showing
the original event (the unedited event) instead of the latest
edited event.
2022-03-15 17:20:43 +05:30
Ajay Bura
27a06ae90c Enable hide nick avatar event by default
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-14 17:48:27 +05:30
Ajay Bura
211fd19031 Prevent unnecessary calc in home roomlist
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-14 17:34:34 +05:30
Ajay Bura
fe18611b4b Fix getAllParent including itself
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-14 17:31:57 +05:30
Ajay Bura
5e9b45ad5f Fix roomlist not updating when adding space cycle
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-14 17:29:40 +05:30
Ajay Bura
af833daee4 Fix root space appear as category in cyclic relation
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-13 18:52:51 +05:30
Ajay Bura
1ad5317d6e Ignore space notification
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-13 16:40:26 +05:30
Ajay Bura
7cf5df80ce Fix getParentSpaces can cause call stack overflow
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-13 15:36:15 +05:30
Ajay Bura
d6b880d110 Fix wrong notification count
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-13 15:12:54 +05:30
Ajay Bura
cf58a4376e Improve roomlist code
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-13 10:37:25 +05:30
Ajay Bura
a76dcb289a Improve code quality
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-12 14:14:56 +05:30
Ajay Bura
127dd8baf4 Add cmd + k hotkey for mac os
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-11 14:14:57 +05:30
Ajay Bura
d25c3ff4fc Fix pressing crtl/alt key jump to highlighted msg (#344)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-11 14:04:44 +05:30
ginnyTheCat
f0e9de4cf9
Fix not all emoji-only messages being detected as jumbo emoji (#368) 2022-03-11 10:33:58 +05:30
Ajay Bura
82948c1f55 Fix new message do not appear sometimes (#185)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-10 17:58:40 +05:30
Krishan
714929c72f Bump Cinny version to 1.8.0 2022-03-08 16:53:17 +05:30
Ajay Bura
b8fe4c937e Add dnd space shortcut (#153)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-08 16:34:55 +05:30
Ajay Bura
a7a5b08ad8 Add function to move space shortcut
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-08 16:29:52 +05:30
Ajay Bura
faaac72b81 Add forward ref in avatar component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-08 16:29:01 +05:30
Ajay Bura
8f41139076 Refactor sidebar avatar component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-07 21:05:47 +05:30
Ajay Bura
e1a67acde1 Add manage pin spaces
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-06 17:52:04 +05:30
Ajay Bura
4ab2af51a5 Add option to create muliple pin spaces shortcut
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-06 17:51:21 +05:30
Ajay Bura
5eda2581f4 Fix side margin
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-06 17:49:21 +05:30
Ajay Bura
21ceb4fdc4 Fix room with join rule knock looks dm
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-06 17:48:31 +05:30
Krishan
edcf43efba
Update English strings, fix #352, #354 (#356)
* Fix #354

* Fix #352
2022-03-06 15:57:39 +05:30
Ajay Bura
6b9c8b7a87 Fix roomlist not updating live
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-03 18:46:47 +05:30
Ajay Bura
a05b96e9a0 Show categorized subspaces
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-03 18:36:53 +05:30
Ajay Bura
699f67aa75 Add rooms category component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-03 18:36:09 +05:30
Ajay Bura
8df630ee0c Update postie to have multiple inbox
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-03 18:33:58 +05:30
Ajay Bura
b0c4c53880 Add categorize space option in space settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-02 21:35:09 +05:30
Ajay Bura
116a9c9de0 Add categorize space option
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-02 21:30:14 +05:30
Ajay Bura
e63f8ab8b8 Add categorized spaces hook
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-02 21:24:30 +05:30
Ajay Bura
424245df18 Add categorized spaces in account data
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-02 21:24:11 +05:30
Ajay Bura
094a11ec64 Add categorize spaces function in RoomList
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-03-02 20:57:29 +05:30
Ajay Bura
906fc2dd3d Refector room list drawer
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-27 21:10:54 +05:30
Ajay Bura
a62df536dd Move space shortcut from roomlist to accountdata
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-27 17:02:03 +05:30
Ajay Bura
7db674b65d Fix button styles
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-27 16:58:15 +05:30
Ajay Bura
8bc41c2c32 Fix bug when creating room
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-27 10:50:27 +05:30
Ajay Bura
79afc7649d Add option to create room/space
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-26 21:00:52 +05:30
Ajay Bura
a8ba38ef1e Fix bug in add existing rooms
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-23 20:19:56 +05:30
Ajay Bura
d3ddbc0c72 Fix space add options visible in home
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-23 19:48:24 +05:30
Ajay Bura
6c4085398e Add option to add existing room in space
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-23 19:30:48 +05:30
ginnyTheCat
2308578622
Fix input freeze on sending message (#343) 2022-02-23 08:35:06 +05:30
ginnyTheCat
1d7fbc841e
Add option to view event source (#320)
* Add view source

* Add view source cons

* Change design

* Use PopupWindow instead of Dialog

* Undo changes to Dialog.jsx
2022-02-22 19:01:04 +05:30
Ajay Bura
6a9964e889 Use font as npm module
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2022-02-21 21:29:17 +05:30