Skip to content

Instantly share code, notes, and snippets.

@horus
Created April 17, 2012 13:36
Show Gist options
  • Select an option

  • Save horus/2406005 to your computer and use it in GitHub Desktop.

Select an option

Save horus/2406005 to your computer and use it in GitHub Desktop.
diff --git a/Plugins/Purple Service/ESPurpleMSNAccount.m b/Plugins/Purple Service/ESPurpleMSNAccount.m
index 14f1b1d..29b8248 100644
--- a/Plugins/Purple Service/ESPurpleMSNAccount.m
+++ b/Plugins/Purple Service/ESPurpleMSNAccount.m
@@ -361,7 +361,8 @@
currentMaxNumberOfPreEncodedCharacters -= 10;
}
- purple_account_set_alias(account, friendlyNameUTF8String);
+ purple_account_set_alias(account, friendlyNameUTF8String);
+ purple_account_set_public_alias(account, friendlyNameUTF8String, NULL, NULL);
[lastFriendlyNameChange release];
lastFriendlyNameChange = [now retain];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment