Modify

Ticket #161 (closed enhancement: fixed)

Opened 5 years ago

Last modified 8 months ago

little patch for private chat

Reported by: gallows Owned by: daelstorm
Priority: minor Milestone: Release 1.2.8
Component: nicotine Version: SVN
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 Download (564 bytes) - added by gallows 5 years ago.
frame.py.diff Download (968 bytes) - added by gallows 5 years ago.
privatechat.py.diff Download (5.0 KB) - added by gallows 5 years ago.

Change History

Changed 5 years ago by gallows

Changed 5 years ago by gallows

Changed 5 years ago by gallows

comment:1 follow-up: ↓ 2 Changed 5 years 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

comment:2 in reply to: ↑ 1 Changed 5 years 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.

comment:3 Changed 5 years ago by anonymous

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

comment:4 Changed 5 years 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?)

comment:5 Changed 8 months ago by Tayten

You've hit the ball out the park! Icnredible!

comment:6 Changed 8 months ago by Stella

What a joy to find such clear thinking. Thanks for psotnig!

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.