buddy: update sipe_core_buddy_got_status() API
commit550f626f5ca53d50c501ecd82c12a5b0d86b6930
authorStefan Becker <chemobejk@gmail.com>
Sun, 2 Dec 2018 16:13:14 +0000 (2 18:13 +0200)
committerStefan Becker <chemobejk@gmail.com>
Sun, 2 Dec 2018 16:13:14 +0000 (2 18:13 +0200)
treefcc1e43317737be25ca25f933ea5ab5012b60346
parent8198961d38411f9dc20157e2ac3b2a45c251b397
buddy: update sipe_core_buddy_got_status() API

Add a new time_t parameter that provides an indication to the backend
when the buddy has entered the current idle state. This parameter is
only valid when the "activity" indicates an idle state. The parameter
may be 0 if it is unknown when the buddy entered the idle state or he
is not idle.

Pass the new parameter down to sipe_backend_buddy_set_status().
src/api/sipe-core.h
src/core/sipe-buddy.c
src/core/sipe-notify.c