Commit e10e8b7e authored by Sriram Karra's avatar Sriram Karra

Escape quote fix - aka (also known as nicknames :-))

parent af0e666b
##
## Created : Fri Apr 06 19:08:32 IST 2012
## Last Modified : Thu Mar 21 15:58:11 IST 2013
## Last Modified : Thu Mar 21 17:43:25 IST 2013
##
## Copyright (C) 2012 Sriram Karra <karra.etc@gmail.com>
##
......@@ -216,7 +216,7 @@ class BBContact(Contact):
nick = aka[0]
rest = aka[1:]
if nick:
self.set_nickname(chompq(nick))
self.set_nickname(unesc_str(chompq(nick)))
if rest and len(rest) > 0:
## Note that 'rest' is an array, and it will not be possible
......@@ -547,7 +547,7 @@ class BBContact(Contact):
return ret
def _get_aka_as_string (self):
nick = self.get_nickname()
nick = esc_str(self.get_nickname())
if not nick:
return 'nil'
nick = unchompq(nick)
......
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