[2977] in BarnOwl Developers
Realms and outgoing messages
daemon@ATHENA.MIT.EDU (David A Benjamin)
Thu Mar 17 14:46:13 2011
Date: Thu, 17 Mar 2011 14:46:09 -0400 (EDT)
From: David A Benjamin <davidben@MIT.EDU>
To: barnowl-dev@mit.edu
I've put this on top of two other patches already sent out
(fc3db8bcaa8a0f274858bbc5ab9ff6c8de1dd7ba and
d1f4914b09beb9ac79833b9c40f1594d70ede7b9) because DD's patch has been
floating around since November and I'm tired of rebasing it. :-)
Anyway, in addition to the two patches for bug #63[1] already emailed,
this adds a zuser_realm to consistently extract the realm out of a
user. It also fixes up the existing long_zuser and short_zuser
functions in a few edge cases. And it sets the realm and user
correctly on outgoing messages.
[1] http://barnowl.mit.edu/ticket/63
The following changes since commit 7d969f31f2bcc9221bbf3a80d3eea1607670719f:
refactor owl_zephyr_zlog_in and report errors in owl_zephyr_zlog_{in,out} (2011-03-06 14:14:52 -0500)
are available in the git repository at:
git://github.com/davidben/barnowl.git realm-fixes
DD Liu (1):
When you zephyr multiple people without using -C, show one outgoing message per recipient.
David Benjamin (3):
In duplicated outgoing zephyrs only reply on the relevant recipient
Add owl_zwrite_get_recip_n_with_realm
Correctly compute the realm from zusers and zwrite
functions.c | 52 +++++++++++++++++++++-------------------------
logging.c | 3 +-
message.c | 35 ++++++++++++++-----------------
zephyr.c | 46 +++++++++++++++++++++-------------------
zwrite.c | 66 +++++++++++++++++++++++++---------------------------------
5 files changed, 95 insertions(+), 107 deletions(-)