mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
unitTest: fix presence status note test
As of commit 68fc552
, presence notes are only sent to contacts (as
opposed to all peers the user is connected to).
GitLab: #1125
Change-Id: I454c6bc880a65ad99747169cfc020a7ea7329de9
This commit is contained in:

committed by
Adrien Béraud

parent
744b4a8af9
commit
00b47c3965
@ -271,6 +271,10 @@ PresenceTest::testPresenceStatusNote()
|
||||
auto carlaAccount = Manager::instance().getAccount<JamiAccount>(carlaId);
|
||||
auto carlaUri = carlaAccount->getUsername();
|
||||
|
||||
// NOTE: Presence status notes are only sent to contacts.
|
||||
aliceAccount->addContact(bobUri);
|
||||
aliceAccount->addContact(carlaUri);
|
||||
|
||||
// Track Presence
|
||||
aliceAccount->trackBuddyPresence(bobUri, true);
|
||||
bobAccount->trackBuddyPresence(aliceUri, true);
|
||||
|
Reference in New Issue
Block a user