summaryrefslogtreecommitdiff
path: root/src/contact.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-11-01 22:04:34 +0100
committerAlfred E. Heggestad <aeh@db.org>2014-11-01 22:04:34 +0100
commit0d11889082d7ce823a2965f75ac896c27d62ae25 (patch)
tree6cca9551c8d58b1fabd60c866fcc5c71334136ca /src/contact.c
parent0a240e73793d84423285930a682984359e725c75 (diff)
presence/options patch from Juha
most of this work was done by Juha Heinanen, and reviewed by me. thanks! - menu: add support for sending SIP OPTIONS requests to any peer, using the 'o' command - presence: add support for PUBLISH, set ;pubint=N to activate - ua: add Allow/Supported header to OPTIONS reply add MESSAGE to allowed methods
Diffstat (limited to 'src/contact.c')
-rw-r--r--src/contact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contact.c b/src/contact.c
index 5161a1c..c06c7a1 100644
--- a/src/contact.c
+++ b/src/contact.c
@@ -128,7 +128,7 @@ const char *contact_presence_str(enum presence_status status)
switch (status) {
default:
- case PRESENCE_UNKNOWN: return "\x1b[32m\x1b[;m";
+ case PRESENCE_UNKNOWN: return "\x1b[32mUnknown\x1b[;m";
case PRESENCE_OPEN: return "\x1b[32mOnline\x1b[;m";
case PRESENCE_CLOSED: return "\x1b[31mOffline\x1b[;m";
case PRESENCE_BUSY: return "\x1b[31mBusy\x1b[;m";