Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Fix a crash when it checks user presence #618

Merged
merged 3 commits into from
Sep 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion TCHAP_CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ Changes in Tchap 1.0.xx (2020-xx-xx)
===================================================

Improvements:
*
* Update matrix-sdk.aar libs - Revision: 3d3c42c5a55bcc4e80d268a6eace93eb1dfc0247 [3d3c42c5a]

Bug Fix:
* LoginActivity: block the UI when the loading wheel is running
* [Preprod] Tchap crashes when it checks user presence #603

Changes in Tchap 1.0.45 (2020-08-14)
===================================================
Expand Down
Binary file modified vector/libs/matrix-sdk-core.aar
Binary file not shown.
Binary file modified vector/libs/matrix-sdk-crypto.aar
Binary file not shown.
Binary file modified vector/libs/matrix-sdk.aar
Binary file not shown.
2 changes: 2 additions & 0 deletions vector/src/main/java/im/vector/contacts/ContactsManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ public void onSuccess(final String accountId) {
public void onSuccess(User user) {
Log.d(LOG_TAG, "retrieve the presence of " + mxid.mMatrixId + " :" + user);
mxid.mUser = user;
//user coming from API no longer contains his id. we must add it to him.
mxid.mUser.user_id = mxid.mMatrixId;
onContactPresenceUpdate(contact, mxid);
}

Expand Down