Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MUC screen flush after reconnect #1636

Closed
eqn-group opened this issue Feb 5, 2022 · 2 comments
Closed

MUC screen flush after reconnect #1636

eqn-group opened this issue Feb 5, 2022 · 2 comments
Labels

Comments

@eqn-group
Copy link

Expected Behavior

It should not flush screen on auto disconnect and after reconnect

Current Behavior

It flushes the screen i.e. empty chat in muc, You have joined the room as (null), role: none, affiliation: none"
after reconnect

Possible Solution

I don't know, there is some issue with last message time comparison

Steps to Reproduce (for bugs)

  1. join a muc
  2. chat for some time, then turn off internet it will disconnect , i assume /reconnect 30s timeout
  3. turn on internet and it will reconnect
  4. now, check the muc, the chat screen is smoty

Context

Environment

Profanity, version 0.11.1

##Error Log
stderr: ERR: (profanity:22): GLib-CRITICAL **: 23:17:22.485: g_date_time_difference: assertion 'end != NULL' failed
stderr: ERR: (profanity:22): GLib-CRITICAL **: 23:17:22.486: g_date_time_difference: assertion 'end != NULL' failed
stderr: ERR: (profanity:22): GLib-CRITICAL **: 23:17:22.898: g_date_time_difference: assertion 'end != NULL' failed
stderr: ERR: (profanity:22): GLib-CRITICAL **: 23:17:22.899: g_date_time_difference: assertion 'end != NULL' failed
.... similar more

@mdosch
Copy link
Contributor

mdosch commented Feb 5, 2022

There's already an issue for this problem but I didn't find it now as mobile github sucks.

@jubalh
Copy link
Member

jubalh commented Feb 5, 2022

duplicate of #1556

@jubalh jubalh closed this as completed Feb 5, 2022
@jubalh jubalh added the invalid label Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants