Nicolas Werner
37582a3a8e
fix: stale call checker leaks memory
2023-11-04 00:30:14 +01:00
Nicolas Werner
82492f92e1
chore: upgrade lints
2023-11-02 10:20:33 +01:00
The one with the braid
5dea95f02c
fix: Code style
...
Signed-off-by: The one with the braid <info@braid.business>
2023-10-20 14:58:56 +02:00
Clemens-Toegel
f1fd6f43f9
chore: remove archived room on forget ( #2 )
...
Co-authored-by: Clemens Toegel <clemens.toegel@x-tention.at>
2023-10-20 14:04:11 +02:00
Nicolas Werner
97bf7723dd
fix: Wait for rate limit to pass while sending messages
...
Otherwise the user can't handle that exception themselves, since we
don't rethrow.
2023-09-21 13:04:57 +02:00
Nicolas Werner
500e423c00
fix: storing the end of history pagination
...
At least in our CI this throws a null assertion error and since we
explicitly expect this to sometimes be null in our code, we should store
it as such.
2023-09-18 12:02:06 +02:00
krille-chan
0c60ad7acd
feat: Add option to not cache users in memory when requesting all of a room
2023-08-13 08:16:11 +02:00
The one with the braid
30c27f00a1
fix: direct message room name computation
...
Signed-off-by: The one with the braid <braid@famedly.com>
2023-08-04 08:17:17 +02:00
Nicolas Werner
334c9e3b78
refactor: Simplify room sorting logic to make invite sorting more obvious
...
It wasn't quite obvious that invites were always sorted at the top, if
you just looked at the sort function. This makes it more explicit and
also makes invites always sort before favourited rooms.
2023-07-31 10:55:27 +02:00
Malin Errenst
395ef0eb8e
refactor: Use tryGet for type casts whenever possible
2023-06-21 15:04:46 +02:00
Malin Errenst
5943576b1b
refactor: Added type casts to match refactored matrix_api_lite
2023-06-16 12:42:10 +02:00
Krille
85a21a6781
fix: Do not store global profiles in room states as members
2023-05-31 15:01:42 +02:00
Krille
0f36659ba7
feat: Display performance warning when requesting more than 100 participants
2023-05-30 13:11:38 +02:00
Krille
9c2f026b4d
refactor: Remove unused parameters
2023-05-11 09:24:41 +02:00
Nicolas Werner
47c54cb397
fix: mark DMs as DMs properly when joining
...
If we join first, it is possible that our member event is not the invite
event anymore. As such we should fetch that state first, before joining.
But also there is little reason not to mark the room as a DM
immediately. That prevents the room from temporarily becoming a group
room, that might be visible in the UI temporarily.
fixes https://gitlab.com/famedly/company/product-management/-/issues/1006
2023-05-09 16:09:01 +02:00
Krille
f21260b035
fix: Only request users which are valid mxid
2023-05-04 15:22:44 +02:00
Krille
c6f7da12d4
fix: Check the max server file size after shrinking not before
2023-04-28 09:26:54 +02:00
Nicolas Werner
663ab11ec5
feat: Support private read receipts
...
You can either set them to private on the client or overwrite the
behaviour for that on each readMarker call. This also handles incoming
thread receipts and tries its best to figure out what is the latest
receipt. This however breaks the old m.receipt account data event.
2023-04-21 18:31:15 +02:00
Nicolas Werner
7f519b5619
Merge branch 'main' into 'main'
...
Implement Thread creating/sending + added neccessary tests
Closes #351
See merge request famedly/company/frontend/famedlysdk!1262
2023-04-17 13:15:36 +00:00
Dmitriy Bragin
203fc25d7a
feat: allow sending messages inside threads
2023-04-17 14:39:11 +03:00
Nicolas Werner
7039c33f3a
chore: Upgrade to matrix_api_lite 1.6
2023-04-17 13:23:51 +02:00
td
d8d111b1b4
chore: ignore stale call checking for archived rooms
2023-03-29 19:04:10 +05:30
Philipp Grieshofer
9aff62a18c
feat: Expose a getter for all rooms including archived rooms
2023-03-20 13:12:47 +00:00
Philipp Grieshofer
00cb292781
fix: Use MatrixLocalizations to calculate fallback user displayname
2023-03-13 15:49:05 +00:00
td
fd4577ae84
chore: stop stale group call checker on room leave
2023-02-27 11:53:08 +05:30
td
0c9e129347
fix: clean expired member state events in group calls
2023-02-14 23:08:50 +05:30
td
1219604dc9
fix: hasActiveGroup call now checks all group calls
...
fix: implement activeGroupCallEvents to get all active group call state events in a room
refactor: move staleCallChecker and expires_Ts stuff to an extension on Room, instead of Voip because it makes much more sense per room rather than on voip, also makes testing easier
fix: populate local groupCalls list on instantiating VOIP()
fix: starting stale call checker is now handled by the sdk itself because clients can forget to do so
2023-02-14 15:02:28 +05:30
Krille
bdedef9379
refactor: Check config at file sending after placing fake event and add error handling
...
This should fix the unresponsivness
of apps for a few seconds
when trying to send a file
2023-02-12 18:28:29 +01:00
td
c5d484bb13
feat: add method to generate the matrix.to link
2023-01-20 03:41:43 +05:30
Krille
05c945b042
fix: Last message set incorrectly on all session key received
...
This fixes a bug that the
last message was sent
incorrectly when a session
key received for example
from the key backup. It may
fix several issues like the
last message is set as a
very old one or the last
message is not decrypted.
2023-01-18 11:46:32 +01:00
Krille
d6c4b530c5
refactor: room displayname calculation
...
This deprecates the displayname
getter in favor of the new
getLocalizedDisplayname which
gets the default localization
by default so it can be
called without defining localizations. It adds a method
to calculate if a room is an
abandoned DM room where
it is made sure that the room
is actually empty.
2023-01-17 08:51:07 +01:00
td
1138012dd1
fix: propogate filter to getParticipants in requestParticipants
2023-01-04 03:36:51 +05:30
Nicolas Werner
58b3098f16
Merge branch 'braid/null-safe-code' into 'main'
...
fix: make some Room getters null safe
See merge request famedly/company/frontend/famedlysdk!1196
2022-12-14 22:36:29 +00:00
TheOneWithTheBraid
35a108b704
fix: make some Room getters null safe
...
- gixes huge error cause in integration tests of related apps
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-12-14 21:20:14 +01:00
Reza
52d6b59cc1
fix: leaved direct chat name
2022-12-12 10:31:40 +01:00
Christian Pauly
f3287dbb99
fix: PowerLevel calculation regarding to spec
2022-11-21 10:14:28 +01:00
Christian Pauly
7caab4d086
chore: Follow up fix for request users in invite rooms
2022-11-14 08:27:47 +01:00
Christian Pauly
f8140866ae
fix: Do not request users in not joined rooms
2022-11-07 08:41:15 +01:00
TheOneWithTheBraid
ed7913e710
feat: introduce hightlighted room getter
...
- adds `Room.isUnreadOrInvited` extending `Room.isUnread` to invited rooms
This is some high-level abstraction simplifying computation of unread
room badges / notifications.
Related: https://gitlab.com/groups/famedly/company/-/epics/28
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-10-26 11:51:32 +02:00
Nicolas Werner
f55bb4776a
feat: Support evaluating pushrules
...
fixes #339
2022-10-17 04:29:20 +02:00
Nicolas Werner
abbc474480
fix: Check ahead of download if a file exceeds the maximum file size
...
fixes https://gitlab.com/famedly/company/frontend/famedly-web/-/issues/539
2022-09-06 11:52:30 +02:00
Nicolas Werner
65205ea734
chore: simplify getTimeline condition a bit
2022-08-16 16:58:36 +02:00
Nicolas Werner
651abc7c14
Merge branch 'krille/add-mark-as-dm-commands' into 'main'
...
feat: Add markasdm and markasgroup commands
See merge request famedly/company/frontend/famedlysdk!1092
2022-08-15 14:19:17 +00:00
Nicolas Werner
6555f36d6d
feat: switch from pedantic to lints
2022-08-15 14:15:51 +00:00
Nicolas Werner
064b84305d
chore: Add markasdm/group tests
2022-08-09 15:33:59 +02:00
cloudwebrtc
9695a5ad10
chore: Use onRoomState to monitor group call creation and member join and leave.
2022-08-08 22:50:43 +08:00
Lanna Michalke
501ee5dce1
Merge branch 'td/add_startGroupCall' into 'main'
...
fix: check for m.call permissions in groupCallEnabled
See merge request famedly/company/frontend/famedlysdk!1088
2022-08-01 09:07:27 +00:00
td
f56e0ddb5f
fix: check for m.call permissions in groupCallEnabled
2022-08-01 14:27:10 +05:30
Lanna Michalke
05ff61ac86
chore: introduce native implementations
...
- adds Client.nativeImplementations
- deprecates Client.compute
Allows to properly implement accelerated native operations in web
Signed-off-by: Lanna Michalke <l.michalke@famedly.com>
2022-07-28 13:30:22 +02:00
Nicolas Werner
7f55e131f4
Merge branch 'td/enable_group' into 'main'
...
feat: allow enabling group calls in already created rooms
See merge request famedly/company/frontend/famedlysdk!1084
2022-07-24 19:24:43 +00:00