Deprecate `last_dequeued` and `last_sender`
After the most recent changes for optimizing forwarding and reducing memory allocation (d72c0ec8), those two member function now have a slightly different behavior than before. This change in semantics is reflected by renaming `last_dequeued` to `current_message` and `last_sender` to `current_sender`. The main change in semantics is that the new functions have a longer a "nop" effect when called outside callbacks or after forwarding a message. Instead, these function now cause undefined behavior, i.e., dereference a null pointer. This is now clearly stated in the manual.
Showing
This diff is collapsed.
No preview for this file type
Please register or sign in to comment