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
then after sending it it actually gets the real unique ID.
Can be tested with the Test Webxdc app
this causes problems like ex. if you vote in a poll before sending it or join as "waiting for player..." in a chess game before sending the app in chat
the reason is probably that rfc724_mid is not set when get_webxdc_info() is called to query self_addr.
question is when to set rfc724_mid:
on set_draft() it is too late
maybe on get_webxdc_info(), we would need to write it back to the database then, however, which is a bit odd for a getter
or when creating a new message object
another option might be to remove rfc724_mid from self_addr. iirc, that was considered also that time when we moved away from email-address = self-addr
Creating rfc724_mid already when Message is created might also be good for #6426 because every message will be uniquely identified even when it is in the draft mode.
Activity
r10s commentedon Mar 6, 2025
the reason is probably that
rfc724_mid
is not set whenget_webxdc_info()
is called to queryself_addr
.question is when to set
rfc724_mid
:set_draft()
it is too lateget_webxdc_info()
, we would need to write it back to the database then, however, which is a bit odd for a getteranother option might be to remove
rfc724_mid
fromself_addr
. iirc, that was considered also that time when we moved away from email-address = self-addrlink2xt commentedon Mar 6, 2025
Creating
rfc724_mid
already whenMessage
is created might also be good for #6426 because every message will be uniquely identified even when it is in the draft mode.rfc724_mid
when creatingMessage
#6676Hocuri commentedon May 5, 2025
I just tested this on Android, this is not fixed. Not sure whether it's an Android or Core issue at this point.
Septias commentedon May 5, 2025
Huh I thought i had it removed from autoclose. Wanted to leave it open actually
Septias commentedon May 6, 2025
@adbenitez can you check at some point if the new PR fixed your issue?
fix: Don't change webxdc self-addr when saving and loading draft (cha…