Ticket #161 (closed enhancement: fixed)

Opened 16 months ago

Last modified 16 months ago

little patch for private chat

Reported by: gallows Owned by: daelstorm
Priority: minor Milestone: Release 1.2.8
Component: nicotine Version: SVN (checked out today)
Keywords: patch Cc:

Description

Hi there,
Just another little patch. It includes two changes about private chat.

1. Now nicotine+ displays your own nick in private chat.
2. I added a very little feature: you can join into a chatroom from private chat (by the usual command: "/join <room>").

List of modifications:
about.py:

  • Added the /join reference in private chat commands.

frame.py:

  • Added various calls to update your nickname colour in private chat.

privatechat.py:

  • Added /join command (and automatic completion).
  • Added tag self.tag_my_username (for nick coloration).
  • Edited SendMessage() funcion to show your own nickname.
  • Edited WriteLog() call in SendMessage() to save your nick into the log.

I hope you find it useful.
Thanks,

gallows aka burp O

Attachments

about.py.diff (0.6 kB) - added by gallows 16 months ago.
frame.py.diff (0.9 kB) - added by gallows 16 months ago.
privatechat.py.diff (5.0 kB) - added by gallows 16 months ago.

Change History

Changed 16 months ago by gallows

Changed 16 months ago by gallows

Changed 16 months ago by gallows

follow-up: ↓ 2   Changed 16 months ago by anonymous

can the /join part extend to the other commands too plz? like /j etc.. i thought they all worked cause i mainly use /b aka /browse

in reply to: ↑ 1   Changed 16 months ago by gallows

Replying to anonymous:

can the /join part extend to the other commands too plz? like /j etc.. i thought they all worked cause i mainly use /b aka /browse

What do you mean by "other commands"? /leave? However /j is also included in that patch.

  Changed 16 months ago by anonymous

im saying if possible ALL keyboard shortcuts to work in private chat too..

  Changed 16 months ago by daelstorm

  • status changed from new to closed
  • resolution set to fixed

Added to subversion in r400 with some changes.

Thanks, gallows!

(contact me on soulseek, why don't you?)

Add/Change #161 (little patch for private chat)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.