• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Duplicate  Username Didnt Update

Dr.Yontem

Formerly Tilkißey
#1

hi,
i found this bug while i was writing add-on

my 3rd user's username was "test"
i changed it to "user3" 5-6 days ago
but, there is no username update in conversation page

regards...
 

Attachments

R

ragtek

Guest
#3
No, it's not duplicated.
It's the "same problem" but on an other place.
xenforo also "caaches" the last username and the username of the first sender of the conversation, so if somebody changes his name, this will also not be changed too.
PHP:
'xf_conversation_master' => array(
'conversation_id'       => array('type' => self::TYPE_UINT,   'autoIncrement' => true),
...
'user_id'               => array('type' => self::TYPE_UINT,   'required' => true),
'username'              => array('type' => self::TYPE_STRING, 'required' => true, 'maxLength' => 50),
...
'last_message_username' => array('type' => self::TYPE_STRING, 'default' => '', 'maxLength' => 50),