- Fix MSN nickname display problem
PR: ports/65056 Submitted by: Cheng-Lung Sung <clsung@dragon2.net> (maintainer)
This commit is contained in:
parent
f0588e01fe
commit
5684599bf6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105929
4 changed files with 34 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
PORTNAME= centericq
|
||||
PORTVERSION= 4.9.11
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://centericq.de/archive/source/releases/
|
||||
|
||||
|
|
16
net-im/centericq/files/patch-msnhook.cc
Normal file
16
net-im/centericq/files/patch-msnhook.cc
Normal file
|
@ -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();
|
||||
}
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
PORTNAME= centericq
|
||||
PORTVERSION= 4.9.11
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://centericq.de/archive/source/releases/
|
||||
|
||||
|
|
16
net/centericq/files/patch-msnhook.cc
Normal file
16
net/centericq/files/patch-msnhook.cc
Normal file
|
@ -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();
|
||||
}
|
Loading…
Reference in a new issue