Skip to content

Commit 716309d

Browse files
committed
v3.66.399
1 parent 8bdfb78 commit 716309d

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

css/styles-features.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@
667667
color: var(--text-dim) !important;
668668
}
669669

670-
.message.supporter-style {
670+
body:not(.chat-bubbles) .message.supporter-style {
671671
background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0.03));
672672
border-left: 3px solid #ffd700;
673673
}
@@ -734,7 +734,7 @@ body:not(.chat-bubbles) .message.cosmetic-aura-gold {
734734
letter-spacing: 1px;
735735
}
736736

737-
.message.supporter-style {
737+
body:not(.chat-bubbles) .message.supporter-style {
738738
background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0.02));
739739
border-left: 3px solid #ffd700;
740740
}

css/styles-themes-responsive.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ body.light-mode.chat-bubbles .message.cosmetic-aura-gold .message-content {
872872
box-shadow: inset 0 0 0 1px rgba(180, 140, 0, 0.5), 0 0 10px rgba(180, 140, 0, 0.15);
873873
}
874874

875-
body.light-mode .message.supporter-style {
875+
body.light-mode:not(.chat-bubbles) .message.supporter-style {
876876
background: linear-gradient(135deg, rgba(180, 140, 0, 0.06), rgba(180, 140, 0, 0.02));
877877
border-left: 3px solid #b8960a;
878878
}

functions/api/bot.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3659,7 +3659,7 @@ async function handleShopAction(context, body, botPrivkey, botPubkey) {
36593659
}
36603660

36613661
var BOT_NYM = "Nymbot";
3662-
var NYMCHAT_VERSION = "3.66.398";
3662+
var NYMCHAT_VERSION = "3.66.399";
36633663
var NYMCHAT_IOS_APP = "https://testflight.apple.com/join/k8FS8Mm3";
36643664
var NYMCHAT_ANDROID_APP = "https://play.google.com/store/apps/details?id=com.nym.bar";
36653665
var COMMAND_PREFIX = "?";
@@ -4296,7 +4296,7 @@ var NYMBOT_SYSTEM_PROMPT = [
42964296
"Games & Fun: ?trivia [category] — AI-generated trivia (general, history, science, crypto, nostr), ?joke — AI-generated joke, ?riddle — AI-generated riddle, ?wordplay [mode] — AI word game (wordle, anagram, scramble), ?flip — Coin flip, ?8ball — Magic 8-ball, ?pick <options> — Random pick.",
42974297
"Utility: ?math <expr> — Calculate, ?units <value> <from> to <to> — Convert units, ?time — UTC time, ?btc — Current Bitcoin price.",
42984298
"Channel Activity: ?who — Active nyms in channel, ?summarize — AI summary of channel discussion, ?top — Top channels by activity, ?last [N] — Recent messages, ?seen <nym> — Where was someone last seen.",
4299-
"Info: ?help — List all bot commands, ?about — About Nymchat (version, platform links), ?nostr — Nostr protocol tips, ?changelog [version] — Live Nymchat release notes pulled from GitHub (default shows the latest release; pass a tag like ?changelog v3.66.398 for a specific version).",
4299+
"Info: ?help — List all bot commands, ?about — About Nymchat (version, platform links), ?nostr — Nostr protocol tips, ?changelog [version] — Live Nymchat release notes pulled from GitHub (default shows the latest release; pass a tag like ?changelog v3.66.399 for a specific version).",
43004300
"Users can also type @Nymbot <question> to ask me directly.",
43014301
"Users can quote-reply any message and mention @Nymbot to ask about it, or reply to my responses to continue the conversation with context.",
43024302
"",
@@ -5129,7 +5129,7 @@ function findRelease(releases, query) {
51295129
var t = (releases[i].tag || "").toLowerCase().replace(/^v/, "");
51305130
if (t === normalized) return releases[i];
51315131
}
5132-
// Prefix match (e.g. "3.61" matches "3.66.398")
5132+
// Prefix match (e.g. "3.61" matches "3.66.399")
51335133
for (var j = 0; j < releases.length; j++) {
51345134
var tt = (releases[j].tag || "").toLowerCase().replace(/^v/, "");
51355135
if (tt.indexOf(normalized) === 0) return releases[j];
@@ -5184,7 +5184,7 @@ function needsChangelogContext(question) {
51845184
if (/\b(changelog|release notes?|what'?s new|whats new|patch notes?|update notes?)\b/.test(q)) return true;
51855185
if (/\b(latest|newest|recent|new|previous|last)\b.{0,30}\b(release|version|update)\b/.test(q)) return true;
51865186
if (/\b(release|version|update)\b.{0,30}\b(history|notes?|log|info)\b/.test(q)) return true;
5187-
// Specific version reference like "3.66.398", "v3.61", "version 3.60.300"
5187+
// Specific version reference like "3.66.399", "v3.61", "version 3.60.300"
51885188
if (/\bv?\d+\.\d+(?:\.\d+)?\b/.test(q) && /\b(nym|nymchat|app|version|release|update)\b/.test(q)) return true;
51895189
return false;
51905190
}

js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3526,7 +3526,7 @@ function initWallpaperUI() {
35263526
}
35273527
}
35283528

3529-
const NYMCHAT_VERSION = 'v3.66.398';
3529+
const NYMCHAT_VERSION = 'v3.66.399';
35303530

35313531
function showAbout(prefill) {
35323532
const modal = document.getElementById('aboutModal');

js/modules/messages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ Object.assign(NYM.prototype, {
569569
}
570570
if (spamHit) {
571571
const escContent = this.escapeHtml(message.content);
572-
const html = `Your message was flagged by the spam filter. <button class="spam-false-positive-btn" data-action="reportSpamFalsePositive" data-spam-content="${escContent}">Report false positive</button>`;
572+
const html = `Your message was flagged by the spam filter and not shown to anyone but yourself. <button class="spam-false-positive-btn" data-action="reportSpamFalsePositive" data-spam-content="${escContent}">Report false positive</button>`;
573573
this.displaySystemMessage(html, 'system', { html: true });
574574
}
575575
} else if (this.blockedUsers.has(message.pubkey) || keywordHit || spamHit) {

js/modules/pms.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1769,7 +1769,7 @@ Object.assign(NYM.prototype, {
17691769
const sidebarFriendBadge = this.getFriendBadgeHtml(pubkey);
17701770
const pmNameEl = item.querySelector('.pm-name');
17711771
if (pmNameEl) {
1772-
pmNameEl.innerHTML = `@${this.escapeHtml(clean)}<span class="nym-suffix">#${suffix}</span>${sidebarFlair} ${verifiedBadge}${sidebarFriendBadge}`;
1772+
pmNameEl.innerHTML = `${this.escapeHtml(clean)}<span class="nym-suffix">#${suffix}</span>${sidebarFlair} ${verifiedBadge}${sidebarFriendBadge}`;
17731773
}
17741774
}
17751775

@@ -1831,7 +1831,7 @@ Object.assign(NYM.prototype, {
18311831
const channelEl = document.getElementById('currentChannel');
18321832
if (channelEl && channelEl.dataset.pmHeaderSig !== pmHeaderSig) {
18331833
const displayNym = `${this.escapeHtml(clean)}<span class="nym-suffix">#${suffix}</span>${flairHtml}${verifiedBadge}${friendBadge}`;
1834-
const pmHeaderHtml = `<img src="${this.escapeHtml(pmAvatarSrc)}" class="avatar-message" data-avatar-pubkey="${safePk}" alt="" loading="lazy">@${displayNym} <span class="nm-pms-1">(PM)</span>`;
1834+
const pmHeaderHtml = `<img src="${this.escapeHtml(pmAvatarSrc)}" class="avatar-message" data-avatar-pubkey="${safePk}" alt="" loading="lazy">${displayNym} <span class="nm-pms-1">(PM)</span>`;
18351835
channelEl.innerHTML = pmHeaderHtml;
18361836
channelEl.dataset.pmHeaderSig = pmHeaderSig;
18371837
}
@@ -1889,7 +1889,7 @@ Object.assign(NYM.prototype, {
18891889
const safePk = this._safePubkey(pubkey);
18901890
item.innerHTML = `
18911891
<img src="${this.escapeHtml(pmAvatarSrc)}" class="avatar-pm" data-avatar-pubkey="${safePk}" alt="" loading="lazy">
1892-
<span class="pm-name">@${this.escapeHtml(cleanBaseNym)}<span class="nym-suffix">#${suffix}</span>${flairHtml} ${verifiedBadge}${friendBadge}</span>
1892+
<span class="pm-name">${this.escapeHtml(cleanBaseNym)}<span class="nym-suffix">#${suffix}</span>${flairHtml} ${verifiedBadge}${friendBadge}</span>
18931893
<div class="channel-badges">
18941894
<span class="unread-badge nm-hidden">0</span>
18951895
</div>

0 commit comments

Comments
 (0)