Refactor 'waiting' flags into one location, fix timestamp check
This commit is contained in:
parent
fd36720079
commit
e18b6bed1f
6 changed files with 39 additions and 13 deletions
|
@ -185,7 +185,7 @@ MessageSender.prototype = {
|
|||
},
|
||||
|
||||
getPaddedAttachment(data, shouldPad) {
|
||||
if (!shouldPad) {
|
||||
if (!window.PAD_ALL_ATTACHMENTS && !shouldPad) {
|
||||
return data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue