Ticket #1554 (closed Defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Change end character if nick is at server length and not valid to use

Reported by: everythingdaniel Owned by: kiji.roshi
Priority: Normal Milestone: Mobile Colloquy 1.1
Component: Colloquy (Mobile) Version: 1.0 (Mobile)
Severity: Normal Keywords:
Cc:

Description (last modified by zach) (diff)

Using Colloquy mobile, if the username is invalid for the server (i.e. too long) the connection fails and does not give out an error message as to why it did not connect.

(the yellow connecting dot turns red with no message as to why it did)

Change History

Changed 3 years ago by zach

  • summary changed from Invalid username for a server, no error displayed. to Fails to connect when nickname is too long

To expand on this: If the nick length is longer then NICKLEN the server allows (sent with 005 on connection), the connection fails.

Colloquy should detect this and shorten the nick as needed to allow the connection to go through, as well as alert the user that the nick is too long and is being shortened.

Changed 3 years ago by zach

  • description modified (diff)
  • summary changed from Fails to connect when nickname is too long to Change end character if nick is at server length and not valid to use

Scratch my previous comment, it's wrong.

When trying to create a new nick to use if the chosen nick is in use, Colloquy appending _. But if the nick is too long, the server trims the _ due to length and the same nick is tried again, so it gets caught in a loop.

Changed 3 years ago by zach

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to Mobile Colloquy 1.1

Fixed in [4404]

Note: See TracTickets for help on using tickets.