groupchat: handle Session-Expires
commitb4ee03d7c7b11ce4069b8c5d653a255ba67fa779
authorStefan Becker <chemobejk@gmail.com>
Fri, 19 Jul 2013 19:29:59 +0000 (19 22:29 +0300)
committerStefan Becker <chemobejk@gmail.com>
Fri, 19 Jul 2013 19:29:59 +0000 (19 22:29 +0300)
treebd894382c4a8679ed8baccab5f857db093ce6bca
parentd7251ae130ac41b3b607cf6467b5bd0e44b5ae58
groupchat: handle Session-Expires

At least on Lync 2013 the group chat session comes with a
Session-Expires: header and the server sends a BYE if the chat session
is idle for that long. The session gets invalidated by this and the next
group chat message then can crash, because dialog is NULL.

Honor the Session-Expires: by sending an UPDATE message before the
timeout.
src/core/sip-transport.c
src/core/sip-transport.h
src/core/sipe-groupchat.c
src/core/sipe-groupchat.h
src/core/sipe-im.c