Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max message size and header guards #5

Open
wants to merge 50 commits into
base: master
Choose a base branch
from

Conversation

notmike-5
Copy link

This commit modifies the MAX_OTR_MSG_SIZE macro to reflect the 512 byte limit imposed by the IRC standard RFC 2812, adds header guards, and updates some file commentary.

TingPing and others added 30 commits December 13, 2014 04:50
Still need to remove the formats and all
mentions of irssi
- Better formatting
- No extra fields
- Static assert
For some reason the fork I based off used an older version.

This is not complete as much of it was never implemented
in xchat upstream only irssi.
Removed the call to get_current_context_type in hook_privmsg, which checks for a
current PM context, and the return if one is not found. This appears to have been
mistakenly copied from hook_outgoing. The original code resulted in non-decrypted
messages being received if the PM/query tab did not have focus.

Closes TingPing#3
- Changes the call to otr_getcontext() in otr_send() such that it creates an OTR context if one does not exist.
- Makes otr_send() have the same otr_getcontext() behavior as otr_receive().
- Updates corresponding error notice.
- Resolves bug where a plugin user could not send regular unencrypted private messages to other users.

Fixes TingPing#2
Closes TingPing#5
TingPing and others added 20 commits February 13, 2016 07:32
This doesn't affect releases
Note that this will require regenerating keys as they
are not migrated.

Closes TingPing#7
This is less than ideal but we can assert that the format
string is safe as they are literals in hexchat-formats.c
This is less than ideal but we can assert that the format
string is safe as they are literals in hexchat-formats.c
Some seem to count the pragma as the code line

Closes TingPing#24
src/hexchat_otr.c:328:5: error: no previous prototype for ‘hexchat_plugin_deinit’ [-Werror=missing-prototypes]
local_install option relevant to TingPing#18
@notmike-5 notmike-5 closed this Dec 23, 2021
@notmike-5 notmike-5 reopened this Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants