Bitlbee -> Facebook rename script update
If you’ve recently noticed that your renamed users in bitlbee have changed back to UIDs, it’s probably because Facebook have changed their UID string from being ‘uNNNNNN’ to ‘-NNNNNN’. Not a huge problem, just change the script:
% diff bitlbee_rename.pl.old bitlbee_rename.pl 22c22 < if($channel == $bitlbeeChannel && $nick == $username && $nick =~ m/^ud+/ && $host == “chat.facebook.com”) —- > if($channel == $bitlbeeChannel && $nick == $username && $nick =~ m/^-d+/ && $host == “chat.facebook.com”) 25c25 < $server->command(“whois $nick”); —- > $server->command(“whois \”$nick\”“);
(My) updated version here. Hope this helps at least one person.
Update
@TheSamoth has pointed out that new bitlbee (v >=1.2.5)doesn’t actually require the rename script, as it has the functionality built in and can be enabled with. Thanks!
account set facebook/nick_source full_name