From cd77ece22025b2ea214524221046dbd78e8f152f Mon Sep 17 00:00:00 2001
From: "Mr. Stallion" <mrstallion@nobody.nowhere.fauxdomain.ext>
Date: Tue, 17 Mar 2020 13:06:08 -0500
Subject: [PATCH] Fixes

---
 chat/ads/AdView.vue    | 7 +++++--
 learn/cache-manager.ts | 2 ++
 readme.md              | 9 ++++-----
 3 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/chat/ads/AdView.vue b/chat/ads/AdView.vue
index 94d36ca..83e8e3b 100644
--- a/chat/ads/AdView.vue
+++ b/chat/ads/AdView.vue
@@ -7,7 +7,9 @@
        <div class="row ad-viewer" ref="pageBody">
             <template v-for="message in messages">
                 <h3>#{{message.channelName}} <span class="message-time">{{formatTime(message.datePosted)}}</span></h3>
-                <div v-bbcode="message.message" class="border-bottom"></div>
+                <div class="border-bottom">
+                    <bbcode :text="message.message"></bbcode>
+                </div>
             </template>
         </div>
 
@@ -26,9 +28,10 @@ import { AdCachedPosting } from '../../learn/ad-cache';
 import core from '../core';
 import {formatTime} from '../common';
 import UserView from '../UserView.vue';
+import { BBCodeView } from '../../bbcode/view';
 
 @Component({
-    components: {modal: Modal, user: UserView}
+    components: {modal: Modal, user: UserView, bbcode: BBCodeView(core.bbCodeParser)}
 })
 export default class AdView extends CustomDialog {
     @Prop({required: true})
diff --git a/learn/cache-manager.ts b/learn/cache-manager.ts
index d2e139c..0781f3e 100644
--- a/learn/cache-manager.ts
+++ b/learn/cache-manager.ts
@@ -213,6 +213,8 @@ export class CacheManager {
                 const message = data.message;
                 const channel = data.channel;
 
+                console.log('CHANNEL AD', data);
+
                 this.adCache.register(
                     {
                         name: message.sender.name,
diff --git a/readme.md b/readme.md
index 2c0bced..fa0dd46 100644
--- a/readme.md
+++ b/readme.md
@@ -70,16 +70,15 @@ This repository contains a heavily customized version of the mainline F-Chat 3.0
 
 *   Collect data on ads / responses to determine which ads work best
 *   Preview mode should allow detaching from the main window
-*   Split chat view
+*   Split chat view / separate window for specific chats?
 *   Improve log browsing
 *   Reposition ad settings and toggle
 *   Save character's status messages
 *   Conversation bot API
-*   Filter unmatching ads is not channel specific -- it's either on everywhere or nowhere
-*   Fix e621 URLs
+*   'Filter unmatching ads' is not channel specific -- it's either on everywhere or nowhere
 *   AD UI Cleanup / hide to popovers
-*   Reset preview mode
-*   Better image fitting & loading animation
+*   image loading animation
+*   Ad cache is broken
 
 
 # F-List Exported