aboutsummaryrefslogtreecommitdiff
path: root/net-im/centericq/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/centericq/files')
-rw-r--r--net-im/centericq/files/patch-msnhook.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-im/centericq/files/patch-msnhook.cc b/net-im/centericq/files/patch-msnhook.cc
new file mode 100644
index 000000000000..0bbda9b195eb
--- /dev/null
+++ b/net-im/centericq/files/patch-msnhook.cc
@@ -0,0 +1,16 @@
+--- src/hooks/msnhook.cc.orig Sun Mar 7 21:44:41 2004
++++ src/hooks/msnhook.cc Fri Apr 2 10:23:03 2004
+@@ -408,11 +408,11 @@
+
+ void msnhook::checkfriendly(icqcontact *c, const string friendlynick, bool forcefetch) {
+ string oldnick = c->getnick();
+- string newnick = unmime(friendlynick);
++ string newnick = rusconv("uk",unmime(friendlynick));
+
+ c->setnick(newnick);
+
+- if(forcefetch || (oldnick != newnick && c->getdispnick() == oldnick) || oldnick.empty()) {
++ if(forcefetch || (oldnick != newnick && c->getdispnick() != newnick) || oldnick.empty()) {
+ c->setdispnick(newnick);
+ face.relaxedupdate();
+ }