Commit e3fb75e68b7f21c04566047c2dd8abe81331e252
updae patch-inbox
mixmix committed on 10/28/2018, 11:31:57 AMParent: 5b0b28a2d567d2ba3a3515d97fde09b870cbfc00
Files changed
app/page/thread.js | changed |
package-lock.json | changed |
package.json | changed |
app/page/thread.js | ||
---|---|---|
@@ -54,12 +54,20 @@ | ||
54 | 54 … | }, { comparer }) |
55 | 55 … | |
56 | 56 … | const { container } = api.app.html.scroller({ prepend: Header({ isPrivate, recps }), content, append: composer }) |
57 | 57 … | container.classList.add('Thread') |
58 | - container.title = msg | |
58 … | + container.title = root | |
59 | 59 … | api.message.async.name(root, (err, name) => { |
60 | 60 … | if (err) throw err |
61 | 61 … | container.title = name |
62 … | + | |
63 … | + // TODO tidy this up | |
64 … | + // over-ride message.async.name OR create message.async.subject | |
65 … | + onceTrue(messages, msgs => { | |
66 … | + const { subject } = msgs[0].value.content | |
67 … | + if (!subject) return | |
68 … | + container.title = subject | |
69 … | + }) | |
62 | 70 … | }) |
63 | 71 … | |
64 | 72 … | container.scrollDownToMessage = scrollDownToMessage |
65 | 73 … | container.addQuote = composer.addQuote |
package-lock.json | ||
---|---|---|
The diff is too large to show. Use a local git client to view these changes. Old file size: 347656 bytes New file size: 347656 bytes |
package.json | |||
---|---|---|---|
@@ -65,9 +65,9 @@ | |||
65 | 65 … | "open-external": "^0.1.1", | |
66 | 66 … | "patch-context": "^2.0.1", | |
67 | 67 … | "patch-drafts": "0.0.6", | |
68 | 68 … | "patch-history": "^1.0.0", | |
69 | - "patch-inbox": "^1.1.9", | ||
69 … | + "patch-inbox": "^1.2.0", | ||
70 | 70 … | "patch-settings": "^1.1.2", | |
71 | 71 … | "patch-suggest": "^2.0.2", | |
72 | 72 … | "patchbay-book": "^1.0.8", | |
73 | 73 … | "patchbay-dark-crystal": "^1.0.5", | |
Built with git-ssb-web