Adds a new chat view footer to describe for read-only conversations
to describe the concept and provide options to remove the contact
or restart a new conversation with the contact.
Gitlab: #475
Change-Id: I6ca0e8dfbf49f17a6ff93a2744c552b76d923773
Read-only conversation has:
- a lock icon in the smartlist item
- no message send bar in the chat view
- no call actions available from the chat view header
- no call actions available from the smartlist context menu
- no double click to call
Change-Id: I0497b94038b450f0a0a22fc007de1281b7b2214d
Gitlab: #475
Filter either the same conv id or peer list of the currently
selected item when responding to the conversationReady signal.
For dialogs we make sure the peer list(1) is same and for all other
swarm conversations we match the conv id.
This will prevent programmatic auto-selection of the smartlist
during account sync.
Depends on: https://review.jami.net/c/ring-lrc/+/18793
Change-Id: I6cedb8494f7c001bf886fe36dd03adffd201bb51
Implements a leaner avatar caching system. The avatar component
listens for uid filtering its id, which may be:
- conversation id
- account id
- contact uri
In response to the uid change, a the image source is updated with
a new image url invoking a fresh QQuickImageProvider query. With
this design, only the avatarregistry's uid mapping needs to be
updated when profiles are changed, and no longer should specific
avatar components receive manual source updates.
Gitlab: #466
Change-Id: Ie5313f5c187a0977ca51b890dd92187480a42537
Using a custom getter setter cause the setting of the value to
require manual changed signal emission and in addition to being
error prone, this prevents the changed signal from being emitted
upon initial selection. Some excess workaround code may be removed
in following commits.
This patch also refactors the banned contact signaling as part of
an accountadapter connection cleanup.
Change-Id: I73fb751001e53e086adc7a6a8d706671c2878a77
Removes profile type filter entirely. Treats swarm and non-swarm
differently when accessing role data.
depends on https://review.jami.net/c/ring-lrc/+/18656 for changes to
helper function names in conversation::Info
Change-Id: Ife69d4c70072ea524fed873136fd9ec39632d6d8
When the needsSyncingSet signal is caught, we need to update the
UI to change filter tab, reload the conversation, etc.
Change-Id: I70170d75afa50acad6e79d53fcaeb82752c38e81
To accept incoming requests, a new acceptConversationRequest api
should be used and makePermanent is now only called for outgoing
requests.
Change-Id: I70bcfc0e323ae250641420f4fda91c6987cac720
This should fix a race condition preventing the right conversation
from being selected after an outgoing interaction and, more rarely,
accepting an invitation.
Change-Id: Iccd1f91ba4d46285c2f1e4594122a736824b752f
PENDING profile is no longer a valid filter criteria. isReqeust is
now used instead and the profile type is restricted to account
types and tracked as a separate property.
Change-Id: I4848e32f005ea7a6a8b5f2fa25d40b7e1e4d63b8
1. Remove unused conversationSmartListModel
2. Properly update conversation model by using onProfileUpdated
Change-Id: I8d6f3a3a5fea2cee38258ca0cc5bd6ca6f447395
1. Decline invites now auto-select the next one and de-select the
conversion when there are no more invites
2. Block conversations behaves the same as before
Gitlab: #402
Change-Id: Ibd3385e40cb2329d58ea90aa3347dfa4b66a4496
- use QString for interactionId
- swarm conversations: use loadConversationMessages and
subscribe to newMessagesAvailable signal
- avoid displaying "merge" and empty "data transfer" messages
- link composing status
Change-Id: Ic524bb786b2ff0471f03b1bb02d41d6da38e716a
Minor cosmetic changes to the account combo box, search bar, filter
tabs, and smartlist.
Change-Id: Ie8173504859b325374e42f0dbb4e0ae75f3ed740
Gitlab: #373
Gitlab: #374
Gitlab: #388
The UniqueConnections need slots to compare bindings. Also, member
functions are cleaner and easier to debug than lambdas.
Change-Id: I16ae3882e0f5ff0b92d1ca6c7ce383e5ceef8a79
Accessing smartlist on conversationRemoved can return invalid
items. Instead, only show welcome view and use modelChanged signal
for updating smartlist.
Also avoid duplicate navigation to welcome view.
Gitlab: #300
Change-Id: Ic1c192fecceeb59287267e3445fabf6afb91ffd5
- avoid using smartlist index change for conversation selection
when call ends (instead it can be triggered from calladapter)
- break long lines
Gitlab: #260
Change-Id: Iaa1f9269d9ba6889fb1a7e466cd586fa86263bc7
Note: if the Displayname/alias is the same as the username,
it should be the only line shown
Gitlab: #129
Change-Id: I2c3dc8d304bd730a2ae114e4686c9ae899087c6b