diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-12-28 20:03:49 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-12-28 20:06:39 +0100 |
| commit | 4f0a029070091d11ab3d2e17e30e39b4476105e5 (patch) | |
| tree | a94a14672a8048f88f2fd1b69917b76a14b645a1 /src/client/QXmppUserLocationManager.cpp | |
| parent | 7b43ba945f195ca559207f6d9824261db8fee46a (diff) | |
| download | qxmpp-4f0a029070091d11ab3d2e17e30e39b4476105e5.tar.gz | |
PubSubManager: Add 'own' to PEP function names
This makes it clear that the functions use the own PEP nodes. This is
clear in some cases (createPepNode()), but in others not so clear
(requestPepItem()). To keep it consistent all PEP functions get an
'own' now.
Closes #520.
Diffstat (limited to 'src/client/QXmppUserLocationManager.cpp')
| -rw-r--r-- | src/client/QXmppUserLocationManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/QXmppUserLocationManager.cpp b/src/client/QXmppUserLocationManager.cpp index 5c79e6b7..cf35013e 100644 --- a/src/client/QXmppUserLocationManager.cpp +++ b/src/client/QXmppUserLocationManager.cpp @@ -90,7 +90,7 @@ auto QXmppUserLocationManager::request(const QString &jid) auto QXmppUserLocationManager::publish(const QXmppGeolocItem &item) -> QFuture<PublishResult> { - return pubSub(client())->publishPepItem(ns_geoloc, item); + return pubSub(client())->publishOwnPepItem(ns_geoloc, item); } /// \cond |
