summaryrefslogtreecommitdiff
path: root/obexd
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2020-02-06 21:08:56 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-02-11 12:53:10 -0800
commit5babd423e5c3a960179a168c6ce46696d34bea9b (patch)
tree96c2ebadc9b1705f3e5f61fd589e120c84334a64 /obexd
parent298d237f9169d0936fada2308c67550acd89ec0b (diff)
downloadbluez-5babd423e5c3a960179a168c6ce46696d34bea9b.tar.gz
obex: report notification status on incoming message
To match doc/obex.txt on incoming message notification the respective Status field should be set.
Diffstat (limited to 'obexd')
-rw-r--r--obexd/client/map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/obexd/client/map.c b/obexd/client/map.c
index 550c5afb4..23be2d6b2 100644
--- a/obexd/client/map.c
+++ b/obexd/client/map.c
@@ -1914,6 +1914,7 @@ static void map_handle_notification(struct map_event *event, void *user_data)
switch (event->type) {
case MAP_ET_NEW_MESSAGE:
map_handle_new_message(map, event);
+ map_handle_status_changed(map, event, "notification");
break;
case MAP_ET_DELIVERY_SUCCESS:
map_handle_status_changed(map, event, "delivery-success");