Project

General

Profile

Bug #39

Handle messages longer than 512 bytes

Added by Sputnick over 13 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Quassel Core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Version:
0.13.0
OS:
Any

Description

The IRC protocol limits the size of a single message to 512 bytes. If we'd like to send longer messages, we therefore have to split. Preferably we should try to find a sensible spot for the split (i.e. a word boundary), rather than just cutting off at byte 511, as WeeChat currently does it.


Related issues

Has duplicate Quassel IRC - Bug #133: Split long linesResolved

Associated revisions

Revision b6ac38c2 (diff)
Added by Marcus Eggenberger over 12 years ago

Fixing BR #39 (splitting long messages)

Revision b2f26944 (diff)
Added by Marcus Eggenberger over 12 years ago

Fixing BR #39 (splitting long messages)

Conflicts:

src/core/basichandler.cpp
src/core/basichandler.h

History

#1 Updated by Sputnick over 12 years ago

Still need to take into account the length of our hostmask (right now we have hardcoded a value), which should be easily available from our self IrcUser. Also we should issue a regular WHO on self to keep our own hostmask updated (might change without notice). Since autoWHO will probably be optional at some point, we shouldn't rely on that.

#2 Updated by shermann over 12 years ago

Konversation has such a logic to split up the chatmessages to avoid the 512 byte limit :)

#3 Updated by EgS over 12 years ago

fixed in current git

Also available in: Atom PDF