notify: parse lastActive attribute from state node
commit21acf6e2b24ec20aa3ed0aca147b7323815951da
authorStefan Becker <chemobejk@gmail.com>
Sun, 2 Dec 2018 16:33:30 +0000 (2 18:33 +0200)
committerStefan Becker <chemobejk@gmail.com>
Sun, 2 Dec 2018 16:33:30 +0000 (2 18:33 +0200)
treef5e922e4244752baa94f54adb3fbb8f8808d22ea
parent8a8fd318c0d33ac18cc79571b1e1b2618eaea5ae
notify: parse lastActive attribute from state node

Buddy presence "application/msrtc-event-categories+xml" does have an
optional attribute "lastActive" in the categories/category/state XML
node that indicates when the buddy entered the current idle state.
Parse the contents of that attribute as ISO8601 timestamp and pass it
to sipe_core_buddy_got_status().
src/core/sipe-notify.c