25 lines
476 B
Java
25 lines
476 B
Java
package com.discord.models.domain;
|
|
|
|
import com.PatchConfig;
|
|
import com.discordtest.BuildConfig;
|
|
|
|
import lanchon.dexpatcher.annotation.DexEdit;
|
|
import lanchon.dexpatcher.annotation.DexWrap;
|
|
|
|
@DexEdit
|
|
public class ModelMessageEmbed {
|
|
|
|
// nospoiler patch
|
|
|
|
@DexWrap
|
|
public boolean isSpoilerAttachment() {
|
|
if (!PatchConfig.NOSPOILER_ENABLED) {
|
|
// Patch not enabled
|
|
return isSpoilerAttachment();
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
}
|