Modify

#545 new defect

Set my own alias/display_name in Jabber

Reported by: augmentedfourth Owned by: wilmer
Priority: wishlist Milestone:
Component: Jabber Version: 1.2.4
Keywords: jabber alias name Cc:
IRC client+version: Client-independent Operating System: Linux
OS version/distro: Debian 5.0 (lenny)

Description

I just built 1.2.4 from source. Apparently there's a way to set your own display name for an account with:

account set <id>/display_name "Display Name"

However, this doesn't seem to work for Jabber. Every other Jabber client I've ever used has an "Alias" box in the account preferences that sets exactly this value; why can't bitlbee do it?

Basically, I'd much rather show up on my company's Jabber server with my real name than my IRC nick, but there appears to be no way to change this. In my estimation, it's a big problem that seems like it would be fairly simple to fix (given the openness of the XMPP spec). Unfortunately, I'm not much of a coder, or I'd try to do it myself.

Attachments (0)

Change History (11)

comment:1 Changed at 2009-11-28T20:10:55Z by Wilmer van der Gaast <wilmer@…>

Basically, I'd much rather show up on my company's Jabber server with my
real name than my IRC nick, but there appears to be no way to change this.

Why not? If you set your nickname once using any other Jabber client,
won't that stick and show up when you're back in BitlBee?

comment:2 in reply to:  1 Changed at 2009-11-29T22:20:36Z by augmentedfourth

Replying to Wilmer van der Gaast <wilmer@…>:

Basically, I'd much rather show up on my company's Jabber server with my
real name than my IRC nick, but there appears to be no way to change this.

Why not? If you set your nickname once using any other Jabber client,
won't that stick and show up when you're back in BitlBee?

Nope. My "Full Name" is set, but my local "Alias" (which is the default for what shows up in Jabber chatrooms) needs to be set by the currently-connected client.

comment:3 Changed at 2009-11-29T22:25:49Z by Wilmer van der Gaast <wilmer@…>

Note that you can already specify your chatroom nickname in BitlBee using chat set, BTW.

comment:4 in reply to:  3 Changed at 2009-11-30T15:08:02Z by anonymous

Note that you can already specify your chatroom nickname in BitlBee using chat set, BTW.

Is this supposed to be the syntax? chat set 0/nick "Display Name"

It appeared to register with 'root,' but nothing changed. do I need to leave and re-enter the chatroom? In any case, I'd also like to show up as my own name in 1:1 chats on the company Jabber server, which would still require a client-side personal Alias to be set.

comment:5 Changed at 2010-05-11T21:58:19Z by wilmer

Priority: majorwishlist

comment:6 Changed at 2010-11-25T07:58:45Z by anonymous

For what it's worth. I used

chat set 0/nick "Display name"

And it worked fine.

comment:7 Changed at 2010-11-25T10:18:21Z by Wilmer van der Gaast <wilmer@…>

That's your nickname in chatrooms, not what people see in their contact lists.

comment:8 Changed at 2011-11-23T21:03:08Z by moggers87+itllbe@…

This is still an issue for me on version 3.0.3 and setting my alias on another client doesn't seem to work.

How hard would this be for someone with no C or Jabber programming experience (i.e. me) to implement?

comment:9 Changed at 2011-11-24T07:11:03Z by wilmer

There's a XEP for this: http://xmpp.org/extensions/xep-0172.html

You just need to write some code that sends a packet like this and put it in an evaluator for the display_name setting. Since you're saying a name set from another client doesn't work, I suppose you'll have to have the setting saved on the BitlBee side and also re-send the packet at reconnect time.

Knowing XMPP is not important, but familiarity with C would be most helpful.

comment:10 Changed at 2012-03-30T19:43:34Z by Vaevictus

Also, chatrooms have your 'alias' as part of the presence.

http://xmpp.org/extensions/xep-0045.html#changenick

fairly simple presence packet to send, basically just <presence to='chatroom/newnick' />

comment:11 Changed at 2014-11-21T12:16:08Z by anonymous

Being able to show an alias (as, for example, pidgin let's you do) would be very useful.

Modify Ticket

Action
as new The owner will remain wilmer.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.