Timestamp is not consistent #28
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
During the sync process, when sending messages by puppetting the user, the timestamp are for the time of sync rather then the time of the event. I did not check to see if it's from
Chrome
orpython
, but I suspect it's the latter. I tried to traceback something like https://src.miscworks.net/fair/matrix-puppeteer-line/src/branch/master/matrix_puppeteer_line/portal.py#L315 , but I couldn't found a mention oftimestamp
down the line, however the line user's messages are stamped correctly so it shouldn't be it.Oh this also happens when editting a message from previously belonging to the bot from the notifications. Or at least the ordering of the messages when editted there.
Own user's timestamp not respected at syncto Timestamp is not consistentThis might be a limitation in
mautrix-python
, as the same timestamp detail is given to both messages sent by yourself or someone else.I'll try updating it soon to see if it fixes this. It's worth updating anyways, too.
Yeah it is curious why it seems to go through correctly for one, but not the other. I will have to setup a remote PyCharm environment to add breakpoints confirm what exactly is going on for each case. If I can finish my thesis in the next week or the following, I can help debug some of these issues.
The help is much appreciated--but please don't let this get in the way of your thesis :)
any updates about this issue?
Oh god, 11 months and I am still working on the thesis ><. @yuessir, did you encounter this issue with the recent versions of
mautrix-python
? @fair the python code-base for line and kakao are not similar right?yeahh..i faced the problm
the timestamp are for the time of sync rather then the time of the event
i have installed the latest mautrix framework,but in vain.
also,i found another problem that the time format in the group chat was 12H ,by contrast, personal chat's time format was 24H. I added the
1d7e098853
to enhance the time converting.Beginning to remember this issue a bit. I think that I wanted to check if we can set a specific time-stamp in the mautrix api. You should be able to check that via pycharm. But in matrix in general, iirc, the order of events and order of timestamps is allowed to be missmatched. Maybe another option is to queue the messages and process it. I can't remember the code-base if that's already coded for and there's a different issue here.