isamert / scli

a simple terminal user interface for signal messenger (using signal-cli)
GNU General Public License v3.0
439 stars 40 forks source link

Wrong categorisation of groups #123

Closed AckslD closed 3 years ago

AckslD commented 3 years ago

When opening newest version of scli it happened that some individual contacts, which I had new messages from, ended up in the "Groups"-section. Only happened to contacts with new messages. Closing and starting scli again fixed the issue (probably cause there were they no new messages then). I wonder if it can be related to #121 since there is a check if not g.get("name") when deciding if a chat is a group or not.

exquo commented 3 years ago

Thanks for reporting! I was able to reproduce this if the contacts list is filtered (the search is on). This is similar to #101. The problem is in ContactsListWidget._move_contact_top(): it moves the widget in the search results, but not in the 'pre-filter' contents.