Skip to content

Commit

Permalink
igniterealtime#166: Fix typo in method name
Browse files Browse the repository at this point in the history
  • Loading branch information
guusdk committed Mar 15, 2023
1 parent e720f5d commit 329ba93
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void interceptPacket(Packet packet, Session session, boolean incoming, bo
{
EmptyMessageType emptyMessageType = EmptyMessageType.getMessageType(message.getElement());

long bitmask = conversationManager.getSpeficifEmptyMessageArchivingEnabled();
long bitmask = conversationManager.getSpecificEmptyMessageArchivingEnabled();

if (emptyMessageType!=EmptyMessageType.IGNORE && (bitmask & emptyMessageType.getValue()) == emptyMessageType.getValue())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ public boolean isEmptyMessageArchivingForMUCEnabled() {
*
* @return returns the bitmask which kind of body less messages will be saved
*/
public long getSpeficifEmptyMessageArchivingEnabled() {
public long getSpecificEmptyMessageArchivingEnabled() {
return emptyMessageBitmask;
}

Expand All @@ -447,7 +447,7 @@ public long getSpeficifEmptyMessageArchivingEnabled() {
*
* @return returns the bitmask which kind of body less muc messages will be saved
*/
public long getSpeficifEmptyMessageArchivingForMUCEnabled() {
public long getSpecificEmptyMessageArchivingForMUCEnabled() {
return emptyMessageBitmaskMUC;
}

Expand Down Expand Up @@ -871,7 +871,7 @@ else if ((date.getTime() - conversation.getLastActivity().getTime() > idleTime.t
if (isEmptyMessageArchivingEnabled()) {
EmptyMessageType emptyMessageType = EmptyMessageType.getMessageType(stanza);

long bitmask = getSpeficifEmptyMessageArchivingEnabled();
long bitmask = getSpecificEmptyMessageArchivingEnabled();

if (emptyMessageType!=EmptyMessageType.IGNORE && (bitmask & emptyMessageType.getValue()) == emptyMessageType.getValue())
{
Expand Down Expand Up @@ -947,7 +947,7 @@ else if ((date.getTime() - conversation.getLastActivity().getTime() > idleTime.t
if (isEmptyMessageArchivingForMUCEnabled()) {
EmptyMessageType emptyMessageType = EmptyMessageType.getMessageType(stanza);

long bitmask = getSpeficifEmptyMessageArchivingForMUCEnabled();
long bitmask = getSpecificEmptyMessageArchivingForMUCEnabled();

if (emptyMessageType!=EmptyMessageType.IGNORE && (bitmask & emptyMessageType.getValue()) == emptyMessageType.getValue())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public void messageReceived(JID roomJID, JID user, String nickname, Message mess
{
EmptyMessageType emptyMessageType = EmptyMessageType.getMessageType(message.getElement());

long bitmask = conversationManager.getSpeficifEmptyMessageArchivingForMUCEnabled();
long bitmask = conversationManager.getSpecificEmptyMessageArchivingForMUCEnabled();

if (emptyMessageType!=EmptyMessageType.IGNORE && (bitmask & emptyMessageType.getValue()) == emptyMessageType.getValue())
{
Expand Down
4 changes: 2 additions & 2 deletions src/web/archiving-settings.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@
Map<String, String> errors = new HashMap<>();
String errorMessage = "";
long bitmaskEmptyMsg = conversationManager.getSpeficifEmptyMessageArchivingEnabled();
long bitmaskEmptyMsgMUC = conversationManager.getSpeficifEmptyMessageArchivingForMUCEnabled();
long bitmaskEmptyMsg = conversationManager.getSpecificEmptyMessageArchivingEnabled();
long bitmaskEmptyMsgMUC = conversationManager.getSpecificEmptyMessageArchivingForMUCEnabled();
if ((rebuildIndex || update || updateLogSettings) && (csrfCookie == null || csrfParam == null || !csrfCookie.getValue().equals(csrfParam))) {
rebuildIndex = false;
Expand Down

0 comments on commit 329ba93

Please sign in to comment.