[2766] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

Re: [PATCH] Display subject as XMPP personal context (if set)

daemon@ATHENA.MIT.EDU (Nelson Elhage)
Thu Nov 11 22:46:47 2010

From: Nelson Elhage <nelhage@MIT.EDU>
To: Alex Dehnert <adehnert@mit.edu>
Cc: barnowl-dev@mit.edu
In-Reply-To: <4CDCB752.6030803@mit.edu>
Date: Thu, 11 Nov 2010 22:46:43 -0500

Go for it.

- Nelson

On Thu, 11 Nov 2010 22:41:06 -0500, Alex Dehnert <adehnert@MIT.EDU> wrote:
> .. which I apparently never remembered to do. I'll go ahead and do so, 
> uh, soon, if nobody objects.
> 
> On 05/04/2010 11:01 AM, Nelson Elhage wrote:
> > Ok, discussion on Zephyr cleared this up slightly. Feel free to go
> > ahead and push.
> >
> > Reviewed-by: Nelson Elhage<nelhage@mit.edu>
> >
> > On Mon, May 03, 2010 at 02:38:34PM -0400, Alex Dehnert wrote:
> >> ---
> >>   perl/modules/Jabber/lib/BarnOwl/Message/Jabber.pm |    4 +++-
> >>   1 files changed, 3 insertions(+), 1 deletions(-)
> >>
> >> diff --git a/perl/modules/Jabber/lib/BarnOwl/Message/Jabber.pm b/perl/modules/Jabber/lib/BarnOwl/Message/Jabber.pm
> >> index 2fe0f3b..ac8015a 100644
> >> --- a/perl/modules/Jabber/lib/BarnOwl/Message/Jabber.pm
> >> +++ b/perl/modules/Jabber/lib/BarnOwl/Message/Jabber.pm
> >> @@ -53,7 +53,9 @@ sub subcontext {
> >>
> >>   sub personal_context {
> >>       my $self = shift;
> >> -    if ($self->is_incoming) {
> >> +    if($self->subject) {
> >> +        return "subject: " . $self->subject;
> >> +    } elsif ($self->is_incoming) {
> >>           return "to " . $self->to;
> >>       } else {
> >>           return "from " . $self->from;
> >> --
> >> 1.6.3.3
> >>
> 

home help back first fref pref prev next nref lref last post