Skip to content

Commit

Permalink
fix: Corrigido o disparo do evento onAddedToGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardmessias committed Jul 7, 2021
1 parent b1fef6c commit 9e0fcbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/wapi/listeners/add-on-added-to-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ export function addOnAddedToGroup() {
* - Evento de adicionado no grupo
*/
if (
message.isNewMsg ||
message.isNotification ||
message.type === 'gp2' ||
message.isNewMsg &&
message.isNotification &&
message.type === 'gp2' &&
message.subtype === 'add'
) {
try {
Expand Down

0 comments on commit 9e0fcbe

Please sign in to comment.