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

Status of contacts list are not displayed properly #1405

Closed
srgcdev opened this issue Jan 12, 2019 · 8 comments

Comments

@srgcdev
Copy link
Contributor

commented Jan 12, 2019

Using last version of converse 4.1.0 (previous version 4.0.6 had the same problem), when I connect to converse in full screen, the status of the contacts on the left are not properly displayed, some of them appear as offline where they are online.

I don't mark the check for "trusted device" when I connect to converse in the login screen.
The problem is not always reproducible, sometimes I had to go offline and connect again.

@jcbrand

This comment has been minimized.

Copy link
Member

commented Jan 12, 2019

Does the problem go away if you click the refresh icon next to the "Contacts" heading?

Unfortunately there isn't enough information here for me to know what's going on.

@srgcdev

This comment has been minimized.

Copy link
Contributor Author

commented Jan 12, 2019

If I click the refresh button nothing happens.

@srgcdev

This comment has been minimized.

Copy link
Contributor Author

commented Jan 12, 2019

I see this error in the console multiple times when I log in:

ERROR: e.devicelists is undefined converse.min.js:157:106333

@jcbrand

This comment has been minimized.

Copy link
Member

commented Jan 12, 2019

hmmm, that might be related...

Seems like there's something specific about your config that causes converse-omemo to not initialize.

Can you paste your converse.initialize config?

@srgcdev

This comment has been minimized.

Copy link
Contributor Author

commented Jan 12, 2019

`converse.initialize({
    authentication: 'login',
    auto_away: 300,
    auto_reconnect: true,
default_domain: 'example.org',
    bosh_service_url: 'https://example.org/http-bind/',
    view_mode: 'fullscreen',
theme: 'concord'
});`
@srgcdev

This comment has been minimized.

Copy link
Contributor Author

commented Jan 13, 2019

I can reproduce the error in https://conversejs.org, some contacts are displayed offline but they are online. If they change their status, then converse.js displays well their status, for example, one contact goes offline and the online, and converse.js shows the contact as online.

But in conversejs.org, the error:
ERROR: e.devicelists is undefined converse.min.js:157:106333
is not shown, but seems is because omemo is not enabled in conversejs.org.

@laszlovl

This comment has been minimized.

Copy link
Contributor

commented Feb 6, 2019

I'm seeing the same thing, without the e.devicelists error. It's 100% reproducable on first login (with an empty cache/localstorage), subsequent logins do sometimes work properly.

Seems to be caused by cc3735f

@srgcdev

This comment has been minimized.

Copy link
Contributor Author

commented Feb 7, 2019

Maybe that's why I always can reproduce the problem. I remove automatically the cookies on the browser when I close the tab, so every time I login I have an empty cache/localstorage.

@jcbrand jcbrand added this to the 4.1.1 milestone Feb 7, 2019

laszlovl added a commit to laszlovl/converse.js that referenced this issue Feb 11, 2019

jcbrand added a commit that referenced this issue Feb 13, 2019

@jcbrand jcbrand closed this in b172861 Feb 13, 2019

jcbrand added a commit that referenced this issue Feb 13, 2019

jcbrand added a commit that referenced this issue Feb 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.