appshare: refactor application sharing role getter
commit49dcbc91dac820739640200ca6a0e5a055fec1a4
authorJakub Adam <jakub.adam@ktknet.cz>
Thu, 5 Jan 2017 20:18:02 +0000 (5 21:18 +0100)
committerJakub Adam <jakub.adam@ktknet.cz>
Thu, 13 Sep 2018 19:43:03 +0000 (13 21:43 +0200)
tree15185538fe4d82dfeaf1b9ced7c39f1be9e3a305
parenta0af9b7023973cfab46f5edcb5fb92648c1861c6
appshare: refactor application sharing role getter

There can now be 3 different roles with regard to application sharing
a user can have: viewer, presenter, or not connected.
src/api/sipe-core.h
src/core/sipe-appshare.c
src/core/sipe-appshare.h
src/core/sipe-conf.c
src/core/sipe-incoming.c
src/purple/purple-chat.c