Commit 8458b608 authored by Sriram Karra's avatar Sriram Karra

Bugfix: Emit the folder name when dealing with non-folder bbdb contacts.

parent 7a59cb8d
##
## Created : Fri Apr 06 19:08:32 IST 2012
## Last Modified : Wed Jul 18 15:06:03 IST 2012
## Last Modified : Wed Jul 25 16:22:59 IST 2012
##
## Copyright (C) 2012 Sriram Karra <karra.etc@gmail.com>
##
......@@ -669,6 +669,7 @@ class BBContact(Contact):
i = self.get_im()
n = self.get_notes()
m = self.get_middlename()
f = self.get_bbdb_folder()
if p:
ret += '(%s . %s) ' % (noted['prefix'], unchompq(p))
......@@ -694,6 +695,8 @@ class BBContact(Contact):
ret += '(%s . %s) ' % (noted['notes'], unchompq(no))
if m and m != '':
ret += '(%s . %s) ' % (noted['middle_name'], unchompq(m))
if f:
ret += '(%s . %s) ' % (noted['folder'], unchompq(f))
ret += self._get_sync_tags_as_str() + ' '
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment