Skip to content

Commit a494940

Browse files
authored
fix: added missing XAPPLEPUSHSERVICE capability advertisement
1 parent f53d593 commit a494940

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

imap-core/lib/imap-tools.js

+3
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,9 @@ module.exports.getQueryResponse = function (query, message, options) {
717717
module.exports.sendCapabilityResponse = connection => {
718718
let capabilities = [];
719719

720+
if (typeof connection._server.onXAPPLEPUSHSERVICE === 'function')
721+
capabilities.push('XAPPLEPUSHSERVICE');
722+
720723
if (!connection.secure) {
721724
if (!connection._server.options.disableSTARTTLS) {
722725
capabilities.push('STARTTLS');

0 commit comments

Comments
 (0)