You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.
I think, there is a bug in the method "org.matrix.androidsdk.data.Room#handleReceiptData"
The read receipt event id is only updated if the receiptData is created by my user. According to the comment in the method and my understanding this is wrong. The setReadReceiptEventId method should be called in the opposite case, i. e. when the receiptData is coming from a different user. Thus, the if statement:
if (isUpdated && TextUtils.equals(mMyUserId, receiptData.userId))
must be changed to:
if (isUpdated && !TextUtils.equals(mMyUserId, receiptData.userId))
The text was updated successfully, but these errors were encountered:
I think, there is a bug in the method "org.matrix.androidsdk.data.Room#handleReceiptData"
The read receipt event id is only updated if the receiptData is created by my user. According to the comment in the method and my understanding this is wrong. The setReadReceiptEventId method should be called in the opposite case, i. e. when the receiptData is coming from a different user. Thus, the if statement:
if (isUpdated && TextUtils.equals(mMyUserId, receiptData.userId))
must be changed to:
if (isUpdated && !TextUtils.equals(mMyUserId, receiptData.userId))
The text was updated successfully, but these errors were encountered: