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))
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))