|
@@ -256,13 +256,23 @@ const logPreRepost = () => {
|
|
}
|
|
}
|
|
params.rootTwitterName = state.detail.postUserInfo.nickName
|
|
params.rootTwitterName = state.detail.postUserInfo.nickName
|
|
let names = []
|
|
let names = []
|
|
- if (state.detail.inviteUserInfo && (state.detail.inviteUserInfo.uid != global_userInfo.uid)) {
|
|
|
|
- // isFatherTwitterFans = inviteUserInfo.nickName 的关注关系
|
|
|
|
- // 发送事件校验关注关系
|
|
|
|
- names.push({
|
|
|
|
- type: 'invite',
|
|
|
|
- name: state.detail.inviteUserInfo.nickName
|
|
|
|
- })
|
|
|
|
|
|
+
|
|
|
|
+ if (state.detail.inviteUserInfo.uid != global_userInfo.uid) {
|
|
|
|
+ if (state.detail.inviteUserInfo) {
|
|
|
|
+ // isFatherTwitterFans = inviteUserInfo.nickName 的关注关系
|
|
|
|
+ // 发送事件校验关注关系
|
|
|
|
+ names.push({
|
|
|
|
+ type: 'invite',
|
|
|
|
+ name: state.detail.inviteUserInfo.nickName
|
|
|
|
+ })
|
|
|
|
+ } else {
|
|
|
|
+ if (state.detail.postUserInfo.uid != global_userInfo.uid) {
|
|
|
|
+ names.push({
|
|
|
|
+ type: 'invite',
|
|
|
|
+ name: state.detail.postUserInfo.nickName
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
if (state.detail.postUserInfo && (state.detail.postUserInfo.uid != global_userInfo.uid)) {
|
|
if (state.detail.postUserInfo && (state.detail.postUserInfo.uid != global_userInfo.uid)) {
|